<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>人员信息</title>
	<#include "/commen/commenftl.ftl" >
	<#include "/commen/commenJs.ftl">
	<#include "/commen/commenCss.ftl">
    <script src="${base}/statics/js/user/userInfoManage.js" type="text/javascript"></script>
</head>

<body>
<div id="main" class="easyui-layout" data-options="fit:true">
<div id="userInfo_div_1" data-options="region:'north'" title="查询条件" style="width:300px;">
    <div id="userInfo_div_2" class="zg_search" data-options="fit:true" style="height:auto;">
    <div id="searchDiv" title="查询条件" style="padding:10px">
	    <form id = 'querySubmit'>
	        <table id="userInfo_table_1" cellpadding="7">
	            <tr>
	                <td>用户名:</td>
	                <td>
	            		<input id="userName" data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>姓名:</td>
	                <td>
	            		<input id="userRealname" data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td valign="bottom">状态:</td>
                    <td>
                        <select class="easyui-combobox"  id = "userIsvalid" data-options="editable:false,panelHeight:'auto'"  style="width: 100px;">
                            <option value="" selected="selected">全部</option>
                            <option value="T">启用</option>
                            <option value="F">停用</option>
                        </select>
                    </td>
	                <td>
	                <a id="userInfo_a_1" href="javascript:void(0)"  class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="width:95px; height:22px;" onclick="queryuserInfo()">搜索</a>
	                </td>
	                <td>
	                <a id="userInfo_a_3" href="javascript:void(0)"  class="easyui-linkbutton" data-options="iconCls:'icon-edit'" style="width:95px; height:22px;" onclick="edituserInfo()">修改用户</a>
	                </td> 
	            </tr>
	            <tr>
	            	<td>用户等级:</td>
	                <td>
	            		<input id="userLevel" data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
	                <td>年龄:</td>
	                <td>
	            		<input id="userAge" data-options="validType:['lengthIncludeChinese[0,60]']"  class="easyui-textbox trim_easyuiinput" type="text" style="width: 150px;">
	                </td>
                    <td valign="bottom">类型:</td>
                    <td>
                        <select class="easyui-combobox"  id = "userType" data-options="editable:false,panelHeight:'auto'"  style="width: 100px;">
                            <option value="" selected="selected">全部</option>
                            <option value="555">会员</option>
                            <option value="999">管理员</option>
                            <option value="666">教练</option>
                        </select>
                    </td>
	                <td>
	                <a id="userInfo_a_5" href="javascript:void(0)"  class="easyui-linkbutton" data-options="iconCls:'icon-clear'" style="width:95px; height:22px;" onclick="clearInfo()">清空</a>
	                </td>     
	                <td>
	                <a id="userInfo_a_4" href="javascript:void(0)"  class="easyui-linkbutton" data-options="iconCls:'icon-remove'" style="width:95px; height:22px;" onclick="openOrCloseuserInfo()">启用/禁用</a>
	                </td>
                    <td>
                        <a id="userInfo_a_5" href="javascript:void(0)"  class="easyui-linkbutton" data-options="iconCls:'icon-edit'" style="width:95px; height:22px;" onclick="doPlan()">生成计划</a>
                    </td>
	             </tr>
	        </table>
	    </form>
    </div>
    </div>
</div>
    <div id="userInfo_div_3" data-options="region:'center',title:'查询结果'" style="padding: 10px;height:600px;">
		<table id="userInfo_table_2"  class="easyui-datagrid"   >
		</table>
	</div>

	<div id="userInfoEditDiv" class="easyui-dialog" title="修改用户信息" closed="true"  modal="true"  style="width:400px;height:500px;padding:10px;font-size:12px"> 
	<form id = "userInfoEdit_form" name="userInfoEdit_form">
		<table id="userInfo_table_4"  cellSpacing=5 cellPadding=5 width=350 align=center> 
			<tr>
				<td valign="bottom">类型:</td>
                <td>
                     <select class="easyui-combobox"  id = "edit_userType" data-options="editable:false,panelHeight:'auto'"  style="width: 100px;">
                            <option value="555">会员</option>
                            <option value="999">管理员</option>
                            <option value="666">教练</option>
                     </select> 
                </td>   
			</tr>
			<tr>
				<td>经验:</td>
				<td>
					<input class="trim_easyuiinput easyui-textbox" data-options="validType:['unsignedInteger','lengthIncludeChinese[0,50]']" id="edit_userExp" />&nbsp;<font color="#B80106">*</font>
					<input class="easyui-validatebox" id="edit_userId"  type="hidden"/>
				</td>
			</tr>
		</table>
		 <div id="userInfo_div_5" style="text-align:center;padding:5px">
        	<a href="javascript:void(0)" id="saveuserInfoForm" class="easyui-linkbutton" onclick="submituserInfoForm2()">保 存</a>
   		</div>
   	</form>	 
    </div>	
 </div>
</body>
</html>
